
/**
*	\file
*	Defines the sun::window class.
*	\author Sean Tromnas
*/

#include <algorithm>

namespace sun
{

	namespace detail
	{

		template<typename InputIterator>
		bool window_slot_combiner::operator( )( InputIterator first, InputIterator last ) const
		{
			bool out = false;

			std::for_each( first, last, [&out]( bool handled )
			{
				out |= handled;
			} );

			return out;
		}

	};

};
